package com.fowo.api.sys.model;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
public class SysDepartmentSearchParamPo extends SysPageSearch {

    @Schema(description = "名称等于")
    private String nameEq;
    @Schema(description = "名称不等于")
    private String nameNeq;
    @Schema(description = "名称大于")
    private String nameGt;
    @Schema(description = "名称大于等于")
    private String nameGte;
    @Schema(description = "名称小于")
    private String nameLt;
    @Schema(description = "名称小于等于")
    private String nameLte;
    @Schema(description = "名称包含")
    private String nameContains;
    @Schema(description = "名称不包含")
    private String nameNotcontains;
    @Schema(description = "名称开始为")
    private String nameStartswith;
    @Schema(description = "名称结束为")
    private String nameEndswith;

    private Long parentId = 0L;
    private Long parentIdEq;
    private String name;
    private String code;
}
